/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Aug 27, 2013  2:57:05 PM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : com.tis.database.entitys.staging
 * File Name : SyncQueueParam.java
 * TODO
 */
package com.tis.database.entitys.queue;

import javax.persistence.Entity;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.util.Date;

/**
 * The persistent class for the SYNC_QUEUE_PARAM database table.
 * 
 */
@Entity
@Table(name="SYNC_QUEUE_PARAM")
@NamedQueries({
    @NamedQuery(name = SyncQueueParam.findAll, query = "FROM SyncQueueParam c order by c.pkId asc"),    
    @NamedQuery(name = SyncQueueParam.findById, query = "FROM SyncQueueParam c WHERE c.pkId = :pkId ")
    })
public class SyncQueueParam implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static final String findAll = "SyncQueueParam_findAll";
	public static final String findById = "SyncQueueParam_findById";

	@Override
	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}
	
	@Id
	@Column(name="SYNC_QUEUE_PARAM_ID")
	private Long pkId;
	
	@Column(name="QUEUE_ID")
	private Long queueId;
	
	@Column(name="PARAM_NAME")
	private String paramName;

	@Column(name="PARAM_VALUE")
	private String paramValue;

	@Column(name="PROC_CREATEDBY")
	private String procCreatedby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="PROC_CREATEDON")
	private Date procCreatedon;	
	
	@Column(name="IS_PROCESSING")
	private String isProcessing;

	/**
	 * @return the pkId
	 */
	public Long getPkId() {
		return pkId;
	}

	/**
	 * @param pkId the pkId to set
	 */
	public void setPkId(Long pkId) {
		this.pkId = pkId;
	}

	/**
	 * @return the queueId
	 */
	public Long getQueueId() {
		return queueId;
	}

	/**
	 * @param queueId the queueId to set
	 */
	public void setQueueId(Long queueId) {
		this.queueId = queueId;
	}

	/**
	 * @return the paramName
	 */
	public String getParamName() {
		return paramName;
	}

	/**
	 * @param paramName the paramName to set
	 */
	public void setParamName(String paramName) {
		this.paramName = paramName;
	}

	/**
	 * @return the paramValue
	 */
	public String getParamValue() {
		return paramValue;
	}

	/**
	 * @param paramValue the paramValue to set
	 */
	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	/**
	 * @return the procCreatedby
	 */
	public String getProcCreatedby() {
		return procCreatedby;
	}

	/**
	 * @param procCreatedby the procCreatedby to set
	 */
	public void setProcCreatedby(String procCreatedby) {
		this.procCreatedby = procCreatedby;
	}

	/**
	 * @return the procCreatedon
	 */
	public Date getProcCreatedon() {
		return procCreatedon;
	}

	/**
	 * @param procCreatedon the procCreatedon to set
	 */
	public void setProcCreatedon(Date procCreatedon) {
		this.procCreatedon = procCreatedon;
	}

	/**
	 * @return the isProcessing
	 */
	public String getIsProcessing() {
		return isProcessing;
	}

	/**
	 * @param isProcessing the isProcessing to set
	 */
	public void setIsProcessing(String isProcessing) {
		this.isProcessing = isProcessing;
	}

	
}